package com.example.wyh.intelcheckbash.task;
import org.json.JSONArray;
import org.json.JSONObject;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by chen on 17/10/27.
 */

public class ListViewItem {
    //用于区分listview显示的不同item,告诉适配器我这是什么类型，listview适配器根据type决定怎么显示
    public int type;
    //将要显示的数据用HashMap包装好
    public HashMap<String,JSONObject> map ;

    public ListViewItem(int type, HashMap<String, JSONObject> map)
    {
        this.type = type;
        this.map = map;
    }
}




